Edge-based recognition, systems and methods

ABSTRACT

Edge-based recognition systems and methods are presented. Edges of the object are identified from the image data based on co-circularity of edgels, and edge-based descriptors are constructed based on the identified edges. The edge-based descriptors along with additional perception metrics are used to obtain a list of candidate objects matched with the edge-based descriptors. Through various filtering processes and verification processes, false positive candidate objects are further removed from the list to determine the final candidate object.

PRIORITY INFORMATION

This application is a continuation of pending application Ser. No. 14/623,341, filed on Feb. 16, 2015, entitled, “EDGE-BASED RECOGNITION, SYSTEMS AND METHODS”, and claims priority to U.S. Provisional Patent Application No. 61/940,325 filed Feb. 14, 2014, both of which are hereby incorporated herein by reference in their entirety. Where a definition or use of a term in a reference that is incorporated by reference is inconsistent or contrary to the definition of that term provided herein, the definition of that term provided herein is deemed to be controlling.

FIELD OF THE INVENTION

The present invention relates to methods and systems for edge-based detection in image processing.

BACKGROUND

The following description includes information that may be useful in understanding the present invention. It is not an admission that any of the information provided herein is prior art or relevant to the presently claimed invention, or that any publication specifically or implicitly referenced is prior art.

There have been many recent advances in image processing techniques to recognize objects. One fairly old example includes the use of Scale Invariant Feature Transform (SIFT; U.S. Pat. No. 6,711,293 to Lowe titled “Method and Apparatus for Identifying Scale Invariant Features in an image and Use of the Same for Locating an object in an image”, filed Mar. 6, 2000). Objects can be identified within image data by using SIFT-based descriptors derived from the image data to lookup content information related to known objects where the content information has been indexed according to the descriptor space. Additional examples of recognizing objects include co-owned U.S. Pat. Nos. 7,016,532, 8,224,077, 8,224,078, and 8,218,873.

Such traditional image processing and object recognition techniques are quite suitable for recognizing well understood, specific objects (e.g., a person's face, a finger print, a bar code, etc.). However, they often fail when applied to generic objects lacking, sufficient features for identification (e.g., a logo, a cup or mug, etc.). Furthermore, known methods of edge detection are not suitable for use in consumer grade products due to excessive computational resource requirements, especially when edges are used for object recognition, object classification, object tracking, or other type of object image data analysis. Further, the number of false positives generated by known techniques renders the techniques less than useable in markets where consumers have high expectations for accuracy. One approach that could aid in classifying objects represented in image data could leverage information relating to the apparent edges of objects.

Some effort has been directed to identifying edges and quantifying them use in identifying objects. One example includes the techniques described by Damen et al. titled “Real-Time Learning & Detection of 3D Textureless Objects: A Scalable Approach”, 2012. Damen describes using a Line-Segment Detector and a Canny Edge Map to identify edgelets in image data. The edgelets are used to form constellations of edgelets, which can be used to search for related objects. Unfortunately, the Damen approach is unsuitable for use in resource-limited embedded systems (e.g., cell phones, etc.) because the time to identify edges and process edges is not suitable for frame rate video (e.g., greater than 20 fps) on an embedded device. Further, the Damen approach generates an inordinate number of false positives, which is unsuitable for use in a consumer market that demands high accuracy.

Some progress has been made toward analyzing image data to identify characteristics of object geometries as described by “A Computational Framework for Segmentation and Grouping” Medioni et al. Copyright 2000, Elsevier Science B. V., ISBN 0 444 50353 6. Medioni describes using derived tensor fields from image data to identify geometric properties of objects represented by the image data. The geometric properties are then used to identify shapes within the image data where shapes can be considered to better conform to how a human would perceive the shapes. Although useful for identifying presence of shapes, Medioni fails to provide insight into how to resolve the issues related to high consumer demand. For example, the tensor algorithms used in the Medioni approach are quite computationally intensive.

Interestingly, the Medioni tensor-based approach provides a saliency measure that represents a perceived importance for geometrical structures. However the saliency measure is only used internally when determining the geometric structures. What has yet to be appreciated is that a saliency measure can be leveraged beyond mere identification of geometrical features. As described by the Applicant's work below, saliency, among other metrics, can also be used to provide an indication of which edges are perceived as being most important to work with, thus decreasing compute time and decreasing false positives.

All publications herein are incorporated by reference to the same extent as if each individual publication or patent application were specifically and individually indicated to be incorporated by reference. Where a definition or use of a term in an incorporated reference is inconsistent or contrary to the definition of that term provided herein, the definition of that term provided herein applies and the definition of that term in the reference does not apply.

Thus, there is still a need for improved edge-based recognition systems capable of quickly reducing false positives.

SUMMARY OF THE INVENTION

The inventive subject matter provides apparatus, systems and methods in which one or more computing devices can operate as image processing systems to identify edges representing in image data and use the identified edges to recognizing objects or classify objects in a manner that reduces false positives.

One aspect of the inventive subject matter includes a method of enabling a device or a system to take an action based on image data. Disclosed method includes obtaining image data having a digital representation of an object of interest. An image recognition system, which is preferably executed by an image processing device (e.g., a tablet, smart phone, kiosk, augmented or virtual reality glasses, etc.) is programmed to, perform such method. The method further comprises analyzing the image data to generate a collection of edges. For example, the method can include generating a collection of edges by executing an implementation of a co-circularity algorithm on at least a portion of the image data related to the object. In more embodiments, edges in the collection can include a perception measure (e.g., saliency, smoothness, length, etc.) indicating an “edged-ness” associated with the edge from a perception perspective.

From the collection of edges, the image recognition system can select a set of candidate edges based in part on the perception measure. These candidate set of edges represents possible starting points from which the image processing device can construct edge-based descriptors. Thus, the method can construct pixel level edgelets from the image data for the edges in the candidate set. The method then derives a plurality of edge-based descriptors from the edgelets where the descriptors represent constellations of edgelets. Once the constellations, or their corresponding descriptors, are identifying, they can be used to configure a device or the image recognition system to take an action based on one or more of the descriptors in the plurality of edge-based descriptors. For example, the action can include indexing content related to the object in a content database (e.g., database, file system, spill tree, k-d tree, etc.) according the associated edge-based descriptors so that the content can be later retrieved. Another example action includes using the edge-based descriptors to query the content database for content related to the object.

Another aspect of the inventive subject matter includes a method of identifying content related to an object. Disclosed method includes obtaining image data, which is a representative of an object via a content identification engine. Then the image recognition system derives at least one edge-based descriptor from the image data. The method continue by generating a scale metric related to a portion of the image data, where the portion of the image data is determined based on the at least one edge-based descriptor.

Based on the derived edge-based descriptors, the method further continues to obtain a content candidate set from a content database storing content information indexed according to an edge-based descriptor space using the at least one edge-based descriptor. In a preferred embodiment, the content information includes scale information. Then, the image recognition system can further generate a content result set by filtering the content candidate set by at least comparing the scale information of content information in the result set to the scale metric. Once the content result set is generated, the image recognition system can enable a device to take an action based on the content result set

Another aspect of the inventive subject matter includes a method of storing content related to an object. Disclosed methods include obtaining image data representative of an object via the image recognition system. Then the image recognition system derives at least one edge-based descriptor from the image data. Once the edge-based descriptor is derived, the image recognition system can generate a scale metric related to a portion of the image data.

It is preferred that the portion of the image data is determined based on the at least one edge-based descriptor. The method continues by storing content information related to the object in a content database using at least one edge-based descriptor. In the content database, content information is indexed, according to an edge-based descriptor space. In a preferred embodiment, content information includes scale information related to the scale metric.

Various objects, features, aspects and advantages of the inventive subject matter will become more apparent from the following detailed description of preferred embodiments, along with the accompanying drawing figures in which like numerals represent like components.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an edge-based recognition ecosystem.

FIG. 2 illustrates details of an image pre-processing module of some embodiments.

FIG. 3 illustrates details of an edge processing module of some embodiments.

FIG. 4 illustrates details of an image matching module of some embodiments.

FIG. 5 illustrates a process for recognizing object in the edge-based recognition system of some embodiments.

DETAILED DESCRIPTION

Throughout the following discussion, numerous references will be made regarding servers, services, interfaces, engines, modules, clients, peers, portals, platforms, or other systems formed from computing devices. It should be appreciated that the use of such terms is deemed to represent one or more computing devices having at least one processor (e.g., ASIC, FPGA, DSP, x86, ARM, ColdFire, GPU, multi-core processors, etc.) configured to execute software instructions stored on a computer readable tangible, non-transitory medium (e.g., hard drive, solid state drive, RAM, flash, ROM, etc). For example, a server can include one or more computers operating as a web server, database server, or other type of computer server in a manner to fulfill described roles, responsibilities, or functions. One should further appreciate the disclosed computer-based algorithms, processes, methods, or other types of instruction sets can be embodied as a computer program product comprising a non-transitory, tangible computer readable media storing the instructions that cause a processor to execute the disclosed steps. The various servers, systems, databases, or interfaces can exchange data using standardized protocols or algorithms, possibly based on HTTP, HTTPS, AES, public-private key exchanges, web service APIs, known financial transaction protocols, or other electronic information exchanging methods. Data exchanges can be conducted over a packet-switched network, a circuit-switched network, the Internet, LAN, WAN, VPN, or other type of network.

As used in the description herein and throughout the claims that follow, when a system, engine, or a module is described as configured to perform a set of functions, the meaning of “configured to” or “programmed to” is defined as one or more processors being programmed by a set of software instructions to perform the set of functions.

One should appreciate that the disclosed object recognition system provides numerous advantageous technical effects. For example, the object recognition system of some embodiments enables accurate and efficient recognition of feature-less objects by analyzing the outline of the objects as they appear in the digital representation. Specifically, the object recognition system uses a novel and improved technique—co-circularity algorithm—to validate edges in the digital representation.

The following discussion provides many example embodiments of the inventive subject matter. Although each embodiment represents a single combination of inventive elements, the inventive subject matter is considered to include all possible combinations of the disclosed elements. Thus if one embodiment comprises elements A, B, and C, and a second embodiment comprises elements B and D, then the inventive subject matter is also considered to include other remaining combinations of A, B, C, or D, even if not explicitly disclosed.

As used herein, and unless the context dictates otherwise, the term “coupled to” is intended to include both direct coupling (in which two elements that are coupled to each other contact each other) and indirect coupling (in which al least one additional element is located between the two elements). Therefore, the terms “coupled to” and “coupled with” are used synonymously.

In some embodiments, the numbers expressing quantities of ingredients, properties such as concentration, reaction conditions, and so forth, used to describe and claim certain embodiments of the inventive subject matter are to be understood as being modified in some instances by the term “about.” Accordingly, in some embodiments, the numerical parameters set forth in the written description and attached claims are approximations that can vary depending upon the desired properties sought to be obtained by a particular embodiment. In some embodiments, the numerical parameters should be construed in light of the number of reported significant digits and by applying ordinary rounding techniques. Notwithstanding that the numerical ranges and parameters setting forth the broad scope of some embodiments of the inventive subject matter are approximations, the numerical values set forth in the specific examples are reported as precisely as practicable. The numerical values presented in some embodiments of the inventive subject matter may contain certain errors necessarily resulting from the standard deviation found in their respective testing measurements.

As used in the description herein and throughout the claims that follow, the meaning of “a,” “an,” and “the” includes plural reference unless the context clearly dictates otherwise. Also, as used in the description herein, the meaning of “in” includes “in” and “on” unless the context clearly dictates otherwise.

Unless the context dictates the contrary, all ranges set forth herein should be interpreted as being inclusive of their endpoints and open-ended ranges should be interpreted to include only commercially practical values. The recitation of ranges of values herein is merely intended to serve as a shorthand method of referring individually to each separate value falling within the range. Unless otherwise indicated herein, each individual value within a range is incorporated into the specification as if it were individually recited herein. Similarly, all lists of values should be considered as inclusive of intermediate values unless the context indicates the contrary.

All methods described herein can be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The use of any and all examples, or exemplary language (e.g. “such as”) provided with respect to certain embodiments herein is intended merely to better illuminate the inventive subject matter and does not pose a limitation on the scope of the inventive subject matter otherwise claimed. No language in the specification should be construed as indicating any non-claimed element essential to the practice of the inventive subject matter.

Groupings of alternative elements or embodiments of the inventive subject matter disclosed herein are not to be construed as limitations. Each group member can be referred to and claimed individually or in any combination with other members of the group or other elements found herein. One or more members of a group can be included in, or deleted from, a group for reasons of convenience and/or patentability. When any such inclusion or deletion occurs, the specification is herein deemed to contain the group as modified thus fulfilling the written description of all Markush groups used in the appended claims.

The focus of the disclosed inventive subject matter is to enable construction or configuration of a computing system to operate on vast quantities of digital data, beyond the capabilities of a human. Although the digital data represents a real-world object, it should be appreciated that the digital data is a representation of one or more digital models of the real-world object, not the real-world object itself. By instantiation of such digital models in the memory of the computing devices, the computing devices are able to manage the digital data or models in a manner that could provide utility to a user of the computing device that the user would lack without such a tool.

GLOSSARY

The following terms are used throughout the remaining portion of the discussion. The meanings of these terms are presented for clarity and should not be construed as limiting the inventive subject matter.

An “edgel” represents a data structure object that includes location information (e.g., a x,y coordinate in image data, etc.), orientation information (e.g., a normal vector), and shape information (e.g., type of edge associated with edgel; curve, surface, etc.).

An “edge” represents a data structure object that defines a segment of a curve along pixels in an image where the curve comprises endpoints. A curve can comprise a chain of edgels.

An “edgelet” represents a data structure object that represents a short line segment centered on an edgel where the line segment has a direction (e.g., normal vector) and length. The length of the edgelet can be a single pixel, but could also have a length of multiple pixels, or multiple edgelets.

Edge Identification

Use of edge detection can aid in identifying generic objects that lack recognizable features (e.g., textures, patterns, color schemes, logos, words, barcode, QR-code etc.) by (1) generating one or more edge-based descriptors and (2) comparing such descriptors to known descriptors that are linked to object content or information. The following discussion related to edge identification leverages some known philosophical techniques as a foundation, and introduces new concepts to give rise to improved edge-based image processing capabilities. More specifically, the disclosed approach leverages a philosophical approach of tensor-based analysis of image data as described in “A Computational Framework for Segmentation and Grouping” by Medioni et al. Copyright 2000, Elsevier Science B. V., ISBN 0 444 50353 6; and edgelet constellation generation as described in Damen et al. titled “Real-Time Learning & Detection of 3D Textureless Objects: A Scalable Approach”, 2012. The following disclosed approach departs from the disclosed tensor based discussion by focusing on co-circularity as described below, which results in one or more perceptional measures reflecting the perceptional quality of edges.

One should appreciate that the disclosed techniques are directed toward using edge-based descriptors to recognize objects in image data (e.g., still images, real-time image data, video images, video frames, etc.) while also reducing false positives. Two aspects of the inventive subject matter include ingestion of object data so that corresponding objects can be recognized as known objects and deriving edge-based descriptors film image data to recognize objects as known objects based on ingested object information.

FIG. 1 is a general schematic of an image data acquisition and recognition ecosystem 100. The ecosystem 100 comprises an image capturing device 105 and an image recognition system 110 coupled with the device 105. One should appreciate that the roles or responsibilities of the various inventive elements can be deployed or distributed across one or more suitably configured computing devices. For example, the device 105 could comprise the image recognition system 110. Alternatively, the device 105 could comprise one or more small applications that configure the device 105 to couple with the image recognition system 110 over a network (e.g., the Internet, a cellular network, WAN, VPN, LAN, a personal area network, Wi-Fi Direct, DLNA, peer-to-peer, ad hoc, mesh, etc.).

The device 105 can include a cell phone, game console, a digital camera, appliances, a security camera, a mobile digital device, a kiosk, a GPS, medical imaging device, or a biometric device, has an optical sensor to acquires image data (e.g., still image data, real-time image data, video image data, etc.) of an scene 106 depicting one or more objects (e.g., toys, clothing, cars, a tool, a tree, an animal, tissues, organs, a building, etc.). The device 105 can further include one or more other sensors (e.g., a global positioning system (GPS) sensor, a mechanical sensor, an accelerometer, a speed sensor, a proximity sensor, a vibration sensor, or other sensors), which can detect the movement or orientation of the optical sensor of the device 105.

The device 105 can also include one or more communication interfaces that enable the device 105 to exchange data with other computing devices. The communication interfaces can include wired or wireless interfaces and short range or long range interfaces. Wired interfaces can include interfaces such as Ethernet, USB, HDMI, RS-232, or even proprietary interfaces. Wireless interfaces can include interfaces such as WiGIG, wireless USB, Wi-Fi, cellular, Bluetooth®, Zigbee®, IrDA, or other wireless interfaces.

Image data of the scene 106 acquired by the device 105 is processed in the image recognition system 110 to extract edge-based descriptors of the object in the scene 106 and match the object with the a priori known candidate objects stored in content database 145 based on the edge-based descriptors of the object in the scene 106. The image recognition system 110 comprises one or more image pre-processing module 115, an edge processing module 125, an image matching module 135. In a preferred embodiment, the image recognition system 110 also comprises at least one of a descriptor database 140, a content database 145 and a model image database 150. However, it is also contemplated that at least one of a descriptor database 140, a content database 145 and a model image database 150 are third-party databases, and may be coupled with the image recognition system 110 over a network.

In a preferred embodiment, the image data of the object 106 is sequentially processed in the image recognition system 110. In this embodiment, the image data of the object 106 is pre-processed in the image pre-processing module 115 to generate post-processed image data 120. The post-processed image data 120 is then processed in the edge processing module 125 to generate edge-based descriptors 130 of the object in the image data 106. The generated edge-based descriptors 130 are stored in the descriptor database 140.

Based on the edge-based descriptors 130 of the object derived from the image data 106, a plurality of candidate objects with features corresponding to the edge based descriptors 130 are selected from the content database 145. Among the plurality of candidate objects, false positive objects are removed via one or more filtering processes in the image matching module 135 to identify the one or more objects 155. In this example, the image recognition system 110 recognizes a picnic umbrella 155 a and a blanket 155 b from the digital data 106.

FIG. 2 illustrates example processes that image pre-processing module 115 performs on image data. The processes or filters that are executed on the image data can enable the image recognition system 110 to more accurately and effectively derive edges and edge-related information from the image data. In this example, image pre-processing module 115 is programmed to execute an implementation of (a) a Gaussian filter 115 a and (b) a Sobel filter 115 b to image data 205. Although only Gaussian filter and Sobel filter are shown in this example it is contemplated that other smoothening, blurring, or shading filters can be used by image pre-processing module 115. In this preferred embodiment, an implementation of the Gaussian filter 115 a is first applied to the raw image data 205 to blur the image to create blurred image 215. Such blurring reduces image noise and reduces details in the raw image data 205. Thus, applying the Gaussian filter 115 a to image data 205 has the effect of reducing the detection of weak or isolated edges.

The image pre-processing module 115 is programmed to perform the step of executing an implementation of the Sobel filter 115 b to the blurred image 215. The Sobel filter 115 b uses spatial gradient measurements on blurred image 215 to emphasize regions of high spatial frequency that correspond to edges. As shown, the resulting image 220 after applying the Sobel filter 115 b has all of the potential edges accentuated.

As the strong edges become more apparent in the image, the image pre-processing module 115 of some embodiments is programmed to perform the step of detecting edgels on the edged-emphasized image 220. As mentioned above, an edgel is a data structure that represents a pixel on the image 220 that is detected to be pan of an edge. Different embodiments of the image pre-processing module 115 uses different algorithms to detect edgels on the image 220. In some embodiments, the image pre-processing module 115 uses an edge detector 115 c to perform an implementation of a Canny edge detection algorithm on the image 220 to generate edgels. Using an implementation of the Canny edge detection algorithm, the edge detector 115 c thins out (or suppresses) the edges such that only the strong edges in the edge-emphasized image 220 are remained (i.e., the weak edges and edges that are not connected to strong edges are filtered out). For example, any edge pixel that does not have a strong edge pixel within its 8-connected neighborhood pixels are removed from the edgels.

As a result, a list of pixel-level edgels is detected. FIG. 2 illustrates edgels detected in a portion 224 of the image 220. In this example, the portion 224 of the image 220 includes a section of the umbrella 223. The image portion 224 is enlarged in the figure for illustrative purposes. As shown, the image portion 224 shows a clear outline of the umbrella 223. The edge detector 115 c of some embodiments is programmed to perform the step of detecting edgels 235 from the pixels. 230 a. 2301, 230 e, 230 d, and 230 e. It is contemplated that each edgel in the collection 235 corresponds to a pixel on the image 220. Preferably, each edgel 235 can be one pixel in length. However, it is contemplated that each edgel 235 comprises multiple pixels in length.

Once the collection of edge's is detected, the image recognition system 110 is programmed to perform the step of using the edge processing module 125 to construct the edge-based descriptors based on the collection of edgels. FIG. 3 illustrates the process of constructing edge-based descriptors based on the collection of edgels through 6 steps—steps 310, 320, 330, 340, 350, and 360. In the first step 310, the edge processing module 125 executes an implementation of a co-circularity algorithm on the collection of edgels. The co-circularity algorithm leverages co-circularity of edgels to determine which edgels reside on the same edge, and generate one or more edges. Co-circularity seeks to determine if a curve (e.g., a circle, a portion of a circle etc.) having a radius could fit at least some of edgels. To determine the co-circularity, the edge processing module 125 computes a tensor field (e.g., a stick tensor, a ball tensor, etc.) for each edgel in the collection of edgels. The tensor field of an edgel represents the origin, size, and direction of the edgel. Once the edgels' tensor fields are computed, the edge processing module 125 uses the tensor fields as a co-circularity score to connect two neighborhood edgels. When two neighborhood edgels, for example edgel. A and edgel B, are connected, the curve can be calculated as a function of the distance between two tensor field of edgel A and edgel B and an angle between the tangent of the osculating circle at edgel A and the line going through edgel A and edgel B.

One should appreciate that an edge that is almost a straight line could be considered a curve with a low curvature, or a circle having a very large radius, while an edge that is very curvy (having a sharp angle) could be considered a curve with a high curvature, or a circle having very small radius. Thus, the edge processing module 125 generates a collection of edges where each edge represents a curve. One should appreciate that co-circularity algorithm can be applied to the whole image or selected portions of the image, possibly related to an object of interest. Of specific interest, each edge can further include a perception measure that can be considered to indicate the “edged-ness” that a human might perceive the edge to have. Example perception measures include one or more of the length of the curve, a smoothness measure of the curve, a curvature of the curve, an intersection of curves, a conjunction of curves, of other measures indicating how a person might perceive the equality of the edge.

Thus, once a curve is determined, the edge processing module 125 can determine whether the curve can be considered a good edge by evaluating the number of edgels falling on the same curve. If multiple edgels also fall on the curve, to at least some quality measure (e.g., fit, a threshold, etc.), the curve is considered a good edge. In this example, there are seventeen edgels 301 a-304 b have been identified from an image. Using this collection of edgels the edge processing module 125 identifies curves 307 and 308. Curve 307 appears to overlap with edgels 301 a, 301 b, 301 c, 301 d, 301 e, 301 f, 301 g, 301 h, and curve 308 appears to overlap with edgels 303 a, 303 b, 303 c, 303 d, 303 e. Meanwhile, other curves can also be identified that overlap with smaller number of edgels. For example, edgels 302 a and 302 b can be on a third curve (not shown), and edgels 304 a and 304 b can be on a fourth curve (not shown). However, not all good edges are of equal quality or saliency. Therefore, in the second step 320, the edge processing module 125 of some embodiments selects a subset, possibly a proper subset, of edges from the collection of edges as candidate edges.

In some embodiments, the edge processing module 125 selects the candidate edges based on one or more criterion including the perception measure, length of edge or its associated curve, number of overlapped edgels, location in the image, depth information (e.g., see co-owned U.S. patent application publication 2012/0163672 to McKinnon titled “Depth Estimate Determination, Systems and Methods”, filed Dec. 20, 2011), device location information (e.g., GPS, triangulation, RSS, etc.) or other available information. Of particular note, more preferred embodiments utilize the perception measures to determine which edges are of most interest as candidate edges. For example, all edges having lengths greater than 30 pixels and high smoothness could be considered candidate edges. In this example, the edge processing module 125 selects curves 307 and 308 as candidate edges because they exceeds the number of threshold overlapping edgels.

When the proper subset of candidate edges are selected, the edge processing module 125 can construct sets of edgelets, possibly at the pixel-level from among the candidate edges. The third step 330 provides an example of constructing a set of edgelets from the candidate edges 307 and 308 and the edgels 301 a through 304 b from steps 310 and 320. One should appreciate that each edgelet could correspond to a pixel-level edgel. However, an edgelet could represent more than one edgel, perhaps every two edgels, every three edgels, or other segmentation of the edges. For example, from the candidate edge 307, the edge processing module 125 constructs edgelets 331 a, 331 b, 331 c, 331 d, 331 e, 331 f, 331 g, 331 h that correspond to edgels 301 a, 301 b, 301 c, 301 d, 301 e, 301 f, 301 g, 301 h, respectively. Similarly, from the selected edge 308, the edge processing module 125 constructs edgelets 333 a, 333 b, 333 c, 333 d, 333 e that correspond to edgels 303 a, 303 b, 303 c, 303 d, 303 e, respectively. In some embodiments, each edgelet in the current implementation represents about 10 to 15 pixels. However it is also contemplated that other pixel lengths (e.g., 1 pixel, 3 pixels, 5 pixels, 7 pixels, 20 pixels, 30 pixels, etc.) can be used to construct one edgelet.

Once the set of edgelets from the candidate edges are constructed, the edge processing module 125 is programmed to perform the step of constructing one or more constellation of edgelets in the fourth step 340. One should appreciate that a constellation of edgelets can be generated by adjusting tunable parameters such as angle of vectors, number of desired edgelets in the constellation, or other factors. In a preferred embodiment, the edge processing module 125 is programmed to perform the step of constructing, from the set of edgelets, constellations of five edgelets, with four rays, where the rays are projected respectively at angles 45, 90, 90, and 45 degrees from one edgelet to another. As shown in this example, the edge processing module 125 has constructed a constellation (as indicated by lines as rays connecting the edgelets) using five edgelets 331 a, 333 a, 331 c, 331 g, and 333 e. The first ray 341 a connects edgelets 331 a and 333 a. The second ray 341 b connects edgelets 333 a and 331 c. The third ray 341 c connects edgelets 331 c and 331 g, and the fourth ray 341 d connects edgelets 331 g and 333 e.

In the fifth step 350, the edge processing module 125 is programmed to perform the step of deriving edge-based descriptors from the constellations of edgelets. In a preferred embodiment, the edge processing module 125 is programmed to perform the step of constructing an edge-based descriptor for each constellation of edgelets. Each edge-based descriptor is a data structure for storing attributes and characteristics of the corresponding constellation. In some embodiments, the edge processing module 125 can include invariant elements or dimensions (e.g., a length of a ray, an angle between two rays, a ratio between the length of projecting rays, a normal vector, etc.) in each edge-based descriptor. Thus, in the case of a constellation with five edgelets, an edge-based descriptor could comprise seven invariant elements or dimensions: three length invariant dimensions and four orientation invariant dimensions.

In a preferred embodiment, dimensions can be determined by ratios of the four projecting rays that project from one edgelet to another edgelet. For example, in the constellation of edgelets constructed in step 340, the edge processing module 125 can determine the length of four rays d₁ 351 a, d₂ 351 b, d₃ 351 c, and d₄ 351 d. Then the three length invariant dimensions could have values based on the ratios of (d₂ 351 b/d₁ 351 a), (d₃ 351 c/d₂ 351 b), and (d₃ 351 c/d₄ 351 d).

The edge processing module 125 of some embodiments is also programmed to perform the steps of determining the angles between the pairs of two rays, 352 a, 352 b and 352 c, and including them as part of the edge-based descriptor. Furthermore, the edge processing module 125 can determine the orientation (e.g., normal vector, etc.) of the five edgelets in the constellation, ê₁ 353 a, ê₂ 353 b, ê₃ 353 c, ê₄ 353 d, and ê₅ 353 e. Then, the orientation invariant dimensions of could have values based on a comparison of normal vectors of each edgelet in the constellation. For example, the values could be dot products of normal vectors of neighboring edgelets in the constellation such as (ê₁ 353 a·ê₂ 353 b), (ê₂ 353 b·ê₃ 353 c, (ê₃·353 c·ê₄ 353 d), and (ê₄ 353 d·ê₅ 353 e).

Based on the length invariant dimensions and orientation invariant dimensions, the edge processing module 125 is programmed to perform the step of constructing an edge based descriptor 361 in the sixth step 360. In a preferred embodiment, the edge based descriptor 361 comprises a vector with value of length invariant dimensions (d₂ 351 b/d₁ 351 a), (d₃ 351 c/d₂ 351 b), and (d₃ 351 c/d₄ 351 d) and orientation invariant dimensions ((ê₁ 353 a·ê₂ 353 b), (ê₂ 353 b·ê₃ 353 c), (ê₃ 353 c·ê₄ 353 d), and (ê₄ 353 d·ê₅ 353 e)). In other embodiments, the edge based descriptor 361 may further comprise information of angles 352 a, 352 b and 352 c between rays 341 a, 341 b, 341 c, and 341 d in the constellation. In some embodiments, the values can be normalized or scaled to an unsigned byte so that each member of the vector would have a value of 0 to 255 so that the descriptor would have a compact form.

In some embodiments, the edge based descriptor 361 further includes additional information beyond orientation invariant dimensions and length invariant dimensions of the constellation. For example, the edge based descriptor 361 can include a dimension that represents a gradient direction with respect to the edge(s) on the original image from which the corresponding constellation of edgelets was derived. A byte value of 0 could indicate that the object of interest as represented by edges has a dark colored interior and is surrounded by light colors, while a value of 255 could indicate that the object of interest has a light colored interior and is surround by dark colors.

Yet another possible piece of information that can be integrated into the edge-based descriptor 361 or treated separately as metadata includes scale information relating to the original ingested image data associated with the known object. Typically, such scale information is avoided as most image descriptors seek to be completely scale invariant. However, for generic objects, some relative scale information can be a strong discriminator of false positives during a recognition event. In this embodiment, the relative scale information relating to the dimensions of the constellations can be retained while also providing scale invariance.

Contemplated scale information can be generated as a scale metric related to the portion of the image data relating to the object of interest and based on the associated edge based descriptor 361. For example, the edge processing module 125 can generate a bounding box around the object of interest in the image where the bounding has a height (h) and width (w) measured in pixels. The bounding box could be generated based on the geometry of the constellation, other types of image descriptors (e.g., SIFT, BRISK, FREAK, etc.), or other parameters. One example of a scale metric can include a ratio of lengths related to the bounding box and the constellation of descriptors. Referring back to the description of the ray lengths above, the scale metric can be represented by S=(d₁ 351 a+d₂ 351 b+ d₃ 351 c+ d₄ 351 d)/(h+w). This metric is a scale invariant with respect to capturing image data, but retains relative scale information associated with the object of interest. Once such scale metric information is available, the image processing device can reduce false positives generated by eliminating known edge-based descriptors that lack scale information that has similar values to the scale metric.

Once the edge-based descriptors are generated in the edge processing module 125, the image matching module 135 is programmed to perform the step of matching the derived edge-based descriptors with known objects. FIG. 4 illustrates the process of matching the derived edge based descriptors with known objects in more detail. As mentioned, the image matching module 135 of some embodiments is programmed to perform the steps in this matching process. It is contemplated that the edge processing module 125 is programmed to perform the step of deriving more than one edge-based descriptor from the target object in the original image (e.g., possibly more than 5, more than 10, more than 100, more than 1,000 edge based descriptors). In this example, for the purposes of clarity and simplicity, the image matching module 135 obtains only three edge-based descriptors 361 a, 361 b, and 361 c from the edge processing module 125. These descriptors 361 a, 361 b, and 361 c may be derived by the edge processing module 125 from the same image data, or related image data.

In some embodiments, descriptor database 140 stores known descriptors (e.g., descriptors 362 a, 362 b, and 362 c, etc.). These descriptors can be derived from training image data or image data that has been previously processed by the image recognition system 110. Each of these descriptors is associated with an object. As shown, descriptors 362 a, 362 b, and 362 c are associated with objects 402 a, 403 a, and 404 a, respectively. In preferred embodiments, the edge-based descriptors, 361 a, 361 b, and 361 c, possibly along with, other perception metrics or non-edge attributes (e.g., saliency measures, scale metrics, etc.) can also be used to construct or update the descriptor database 140. In some embodiments, the image matching module 135 comprises the descriptor database 140. It is also contemplated that that the image matching module 135 is communicatively coupled with the descriptor database 140 via network.

In one embodiment, the image matching module 135 further comprise the content database 145. The content database 145 comprises one or more content objects associated with their descriptors. In some embodiments, the content objects are grouped by one or more of their attributes (e.g., types, characteristics, ages, sizes, etc.). For example, content objects 402 a, 402 b, and 402 c are grouped in a group 401 a, based on their sizes. In another example, content objects 403 a, 403 b, and 403 c are grouped in a group 401 b, based on their geographic location. In yet another example, content objects 404 a, 404 b, and 404 c are grouped in a group 401 c, based on their overall shapes.

The image matching module 135 matches and indexes known edge-based descriptors in the descriptor database 140 with known target objects. In some embodiments, the descriptor database 140 can comprise a tree structure (e.g., a k-d tree, a spill tree, etc.) that organizes known edge-based descriptors according to the tree structure. Such an approach is advantageous in the field where test images fail to generate exact matches to the known edge-based descriptors. For example, a k-d tree can be used to match content objects where them are a vast number of content objects possibly matching with the edge-based descriptors. The k-d tree starts with a root (the first level) of the tree, where the data is split into two leaf nodes at a threshold value. The image matching module 135 makes a comparison between two split data based on the edge-based descriptor and other non edge attributes (e.g., scale information, gradient information, other geometric information, etc.), and makes a determination to which first leaf node to descend. The data associated with the first leaf node becomes the first candidate of nearest neighbor of the edge-based descriptor. However, the first candidate of nearest neighbor may not be the true nearest neighbor of the edge-based descriptor. Thus, it is generally required further searches of a plurality of leaf nodes to find the true nearest neighbor, which is considered to be the best fit to the query. In some embodiments, the image matching module 135 may limit the number of nodes that can be searched per query. More detail of using k-d tree to match content objects can be found in the publication titled “Optimized KD-trees for fast image descriptor matching” by Silpa-Anan et al., published in 2008, which is incorporated herein in its entirety.

In other embodiments, the descriptor database 140 can utilize other types of matching protocol. For example, the descriptor database 140 can execute an implementation of a k-Nearest Neighbor (kNN) algorithm to match a known object based an the edge-based descriptor and other information (e.g., scale information, gradient information, other geometric information, etc.). The kNN algorithm is useful to match the candidate objects without prior or generalized learning process, because the classification by kNN algorithm is performed based on a majority vote of the nearest neighbors of each query point, instead of any prior assumptions. More detail of using kNN algorithm can be found in a publication titled “Manifold matching for High-Dimensional Pattern Recognition” by Seiji Hotta, published in 2008, which is incorporated herein in its entirety.

In this example, based on the input edge-based descriptor 361 a, the image matching module 135 found descriptor 362 a to be the nearest known descriptor within the descriptor database 140, which corresponds to content object 402 a. Similarly, based on the input edge-based descriptor 361 b, the image matching module 135 found descriptor 362 b as the nearest known descriptor within the descriptor database 140, which corresponds to content object 403 a. Again, based on the input edge based descriptor 361 c, the image matching module 135 found descriptor 362 c to be the nearest known descriptor within the descriptor database 140, which corresponds to content object 404 a. The Objects that have been determined to be matching with the input edge-based descriptors are grouped as candidate object group 410.

In some embodiments, instead of selecting the objects that correspond to the nearest known descriptors, the objects in candidate object group 410 can be generated by randomly selecting Objects within the groups 410 a, 401 b, and 401 c, that match an affine hypothesis. For example, the image matching module 135 can apply random sample consensus (RANSAC) to arrive at that the candidate set.

The image matching, module 135 is further programmed to perform the step of eliminating or filtering out objects within the candidate object group 410 that are deemed to be irrelevant or incorrect based on the image data (i.e., identifying false positives).

Under one approach, the image matching module 135 first removes outliers, via a geometric constrain filter 420, from the candidate object group 410. In some embodiments, each candidate object in the group 410 includes a set of geometric constrains (e.g. size, dimension, proportion among the dimensions, etc). Thus, the image matching module 135 executes an implementation of the geometric constrain filter 420 to remove false positives by identifying alignment edges in the image data associated with the edge-based descriptors and determine if the edges in the image conform with the set of constrains associated with each of the candidate objects. If the alignment edges fail to fulfill most or all (e.g., 80%, 90%, etc.) of the constrains associated with a candidate object, such candidate object will be removed from the group 410 by the image matching module 135. Since most of the image data is two dimensional, the image matching module 135 of some embodiments uses homography geometry for two-dimensional objects and projection matrix for three-dimensional objects to make such a determination. In some embodiments, additional geometrical information of known objects can be linked with thief descriptors and enables the image matching module 135 to find geometric constrain between query image and database image. Such an approach can include executing an implementation of an interactive closest point (ICP) algorithm. A suitable algorithm is disclosed by Besl et al. titled “A Method for Registration of 3-D Shapes” in IEEE Transactions on Pattern Analysis and Machine Intelligence, Vol. 14., No. 2., February 1992, which is incorporation herein in its entirety.

In some embodiments, false positives can be further reduced through other various techniques. As discussed previously, the perception metrics or scale metrics can be used to further filter the result set. In addition, the image matching module 135 can execute an implementation of one of more similarity filters to the edge-based descriptors and known descriptors to generate groups of paired descriptors where each group can be defined as satisfying one similarity geometric constrain. Each group could have multiple pairs and each pair would have one edge-based descriptor from the test image and a known edge-based descriptor from a training image. An example similarity filter can include, a Hough transform.

Once the result set is obtained from the geometric constrain filter 420, the image matching module 135 is programmed to perform the steps of further reducing false positives and verifying the correct match out of the remained nearest neighbors through executing an implementation of a verification filter 430.

In some embodiments, the verification filter 430 uses convex hulls to verify the candidate objects. A convex hull is a bounding box that bounds the shape (e.g., the edges) of a target object defined by its edges from the image data or the candidate object. It can be used to eliminate false positives by comparing the convex hulls derived from the test image data to convex hulls of the candidate object (e.g., the modeled image of the candidate object). If the ratio of an area of the test images convex hull (_(At)) to an area of the modeled image (_(Am)) is close to one, then there might be a good mach (_(At)/_(Am)≤1). Naturally, an affine transform might need to be applied to rectify the test image with the model image.

In a more interesting embodiment, the verification filter 430 also uses Normalized Coefficient Correlation (NCC) verification method to further eliminate false positives. The NCC verification ranks the candidate objects with their NCC ranking scores. The normalized correlation coefficient between model image and the test image would be utilized as the ranking score, which represents the global similarity between them. The higher NCC ranking score (generally ranged between 0 and 1) is, the more likely that the model image and the test image is matched. In some embodiment, the test image is a warped test image, which is transformed to the model image based on the transformation matrix derived by matcher and stored in the match list.

In some embodiments, with respect to using the descriptor database 140 for recognition purposes, the descriptor database 140 can be implanted as a web-based service (e.g., IaaS, SaaS, PaaS, etc.) using a k-d tree-based scheme where memory and processing resources are available. Further the descriptor database 140 can be implanted as an in-memory module, possibly based on spill trees, for use in low resource embedded devices (e.g., cell phone, smart phone, tablet, appliance, kiosk, etc.). Regardless of the form of the descriptor database 140, a consumer or other user can leverage the descriptor database 140 to recognize or classify generic objects based one edge-based descriptor derived from image data in real-time.

FIG. 5 presents a process 500 for recognizing images based on edge-based descriptors. As represented in by step 505, the process begins with receiving digital representation of a scene or one or more objects (image data) by an imaging capturing device. Once the image data is obtained, the image data is processed in the image pre-processing module in step 510. Preferably, the image data is first blurred with Gaussian filter in step 511, and then the edges in the image data is emphasized with Sobel filter in step 512. The emphasized edges are further processed in Canny edge detector to detect a pixel level edgels in step 515.

Once the edges are detected, edges can be determined by co-circularity of the edgels in step 520. In a preferred embodiments, the co-circularity of the edgels are determined by two steps: 1) tensor fields of edgels are pre-computed in step 521, and 2) connecting two neighbor edgels by using pre-computed tensor field as co-circularity score in step 522. The process of step 520 may generate many edges, which includes edges with high “edged-ness” and low “edged-ness”. Thus in step 525, the method continues by selecting proper subset of edges, which has high “edged-ness” compared to other edges.

From the selected subset of edges, the process 500 continues by determining edgelets of the edges and constructing constellation of the edgelets in step 530 by placing one or more rays connecting between the edgelets. Once the constellation of edgelets is constructed, an edge-based descriptor can be derived from the constellation of edgelets in step 535. As described above, the edge-based descriptor may comprise at least one of length invariant dimensions and orientation invariant dimensions.

In the next step, step 540, the edge-based descriptor can be used to match with candidate images. First, the edge-based descriptor is compared with known descriptors with associated object images to find the nearest neighbors using a k-d tree, a spill tree, a kNN method or any other suitable classification methods in step 541. Once the nearest neighbor known descriptors are found, the objects associated with the nearest neighbor known descriptors are identified in step 542 and grouped as image candidates.

The final steps of image recognition based on edge-based descriptors are removing or reducing false positives from the group of image candidates in step 545 and verify the image objects in step 550. In step 545, false positive image candidates in the group of candidate images are filtered out. In this process, at least one of two methods can be used as described in step 546 and step 547. In step 546, outliers can be determined among the candidate objects by using geometric constrain information. In step 547, if the known descriptor is associated with a model image stored in the model image database, such model image can be compared to the candidate objects. Finally, in step 550, the method continues by verifying image by using convex hull to determine the overall shape of the object or color NCC to rank the filtered candidate images.

It should be apparent to those skilled in the art that many more modifications besides those already described are possible without departing from the inventive concepts herein. The inventive subject matter, therefore, is not to be restricted except in the spirit of the appended claims. Moreover, in interpreting both the specification and the claims, all terms should be interpreted in the broadest possible manner consistent with the context. In particular, the terms “comprises” and “comprising” should be interpreted as referring to elements, components, or steps in a non-exclusive manner, indicating that the referenced elements, components, or steps may be present, or utilized, or combined with other elements, components, or steps that are not expressly referenced. Where the specification claims refers to at least one of something selected from the group consisting of A, B, C . . . and N, the text should be interpreted as requiring only one element from the group, not A plus N, or B plus N, etc. 

What is claimed is:
 1. A method of enabling a device action based on image data, the method comprising: obtaining, by an image processing device, image data of a scene depicting an object associated with medical or biometric information; generating, by the image processing device, a collection of edges representing curves in the image data by executing an implementation of a co-circularity algorithm to at least a portion of the image data associated with the object, wherein each edge in the collection of edges is characterized by one or more perception measures; selecting, by the image processing device, a set of candidate edges from the collection of edges based at least in part on the perception measures of the edges within the collection of edges; constructing, by the image processing device, sets of edgelets, within the image data, for the edges in the set of candidate edges; deriving, by the image processing device, a plurality of edge-based descriptors from the sets of edgelets; generating, by the image processing device, at least one perception metric related to the portion of the image data associated with the object based on the plurality of edge-based descriptors; and configuring a device to take an action based on the plurality of edge-based descriptors, wherein configuring comprises storing or indexing content information associated with the object and the at least one perception metric into a content database according to an edge-based descriptor space.
 2. The method of claim 1, wherein the object comprises a tissue or an organ of an organism.
 3. The method of claim 1, wherein the image processing device comprises one of a medical imaging device or a biometric device.
 4. The method of claim 1, wherein the image data includes at least one of still image data, real-time image data, and video image data.
 5. The method of claim 1, wherein the plurality of edge-based descriptors includes at least one of color information and scale information.
 6. The method of claim 1, wherein the action includes indexing content information related to the object into a content database according an indexing scheme based on the edge-based descriptor space.
 7. The method of claim 6, wherein the indexing scheme comprises a tree structure.
 8. The method of claim 7, wherein the tree structure comprises at least one of a spill tree and a k-d tree.
 9. The method of claim 6, wherein the content information related to the object comprises non-edge attributes.
 10. The method of claim 9, wherein the non-edge attributes comprise at least one of the following: scale information, color information, and metadata.
 11. The method of claim 1, further comprising providing access to a descriptor database storing known descriptors linked to content information related to the object.
 12. The method of claim 11, further comprising updating the known descriptors associated with the object in the descriptor database based on one or more of the plurality of edge-based descriptors.
 13. The method of claim 11, further comprising identifying pairs of nearest neighbor edge-based descriptors from the known descriptors and the plurality of edge-based descriptors.
 14. The method of claim 13, further comprising grouping the pairs of nearest neighbor edge-based descriptors in groups of paired descriptors according to a similarity filter applied to the pairs of nearest neighbor edge-based descriptors.
 15. The method of claim 14, wherein the similarity filter comprises a Hough transform.
 16. The method of claim 14, further comprising generating a candidate set of matched descriptors from the groups of paired descriptors by randomly selecting descriptor pairs within each group of paired descriptors and identifying pairs that match an affine hypothesis.
 17. The method of claim 16, further comprising generating a result set by reducing false positives from the candidate set of matched descriptors via identifying alignment edges in the image data associated with the plurality of edge-based descriptors to modeled image data associated with the known descriptors through a homography geometry.
 18. The method of claim 16, further comprising generating the result set by reducing false positives from the candidate set of matched descriptors via filtering the candidate set based at least in part on at least one of scale information, color information, and one or more of the perception measures.
 19. The method of claim 1, wherein the edgelets comprise one or more pixels.
 20. The method of claim 1, wherein the one or more perception measures comprise at least one of the following: a length of a curve, a smoothness measure of a curve, a curvature of a curve, an intersection of curves, and a conjunction of curves.
 21. An apparatus for enabling a device action based on image data, the apparatus comprising: a processor; a memory device storing software instructions for enabling a device action based on image data; and an image processing device executable on the processor according to software instructions stored in the memory device and configured to: obtain image data of a scene depicting an object associated with medical or biometric information; generate a collection of edges representing curves in the image data by executing an implementation of a co-circularity algorithm to at least a portion of the image data associated with the object, wherein each edge in the collection of edges is characterized by one or more perception measures; select a set of candidate edges from the collection of edges based at least in part on the perception measures of the edges within the collection of edges; construct sets of edgelets, within the image data, for the edges in the set of candidate edges; derive a plurality of edge-based descriptors from the sets of edgelets; generate at least one perception metric related to the portion of the image data associated with the object based on the plurality of edge-based descriptors; and configure a device to take an action based on the plurality of edge-based descriptors, wherein configuring comprises storing or indexing content information associated with the object and the at least one perception metric into a content database according to an edge-based descriptor space.
 22. A non-transitory computer-readable medium having computer instructions stored thereon for enabling a device action based on image data, which, when executed by a processor, cause the processor to perform one or more steps comprising: obtaining image data of a scene depicting an object associated with medical or biometric information; generating a collection of edges representing curves in the image data by executing an implementation of a co-circularity algorithm to at least a portion of the image data associated with the object, wherein each edge in the collection of edges is characterized by one or more perception measures; selecting a set of candidate edges from the collection of edges based at least in part on the perception measures of the edges within the collection of edges; constructing sets of edgelets, within the image data, for the edges in the set of candidate edges; deriving a plurality of edge-based descriptors from the sets of edgelets; generating at least one perception metric related to the portion of the image data associated with the object based on the plurality of edge-based descriptors; and configuring a device to take an action based on the plurality of edge-based descriptors, wherein configuring comprises storing or indexing content information associated with the object and the at least one perception metric into a content database according to an edge-based descriptor space. 